//
//  MBForumMainCell.h
//  MiBaoTu
//
//  Created by admin on 16/10/14.
//  Copyright © 2016年 com.caesartech15. All rights reserved.
//

#import <UIKit/UIKit.h>

@class MBForumMainCell;
@protocol MBForumMainCellDelegate <NSObject>

- (void)onSelectItemForDeleteByForumCellWithView:(MBForumMainCell *)view withValue:(id)value; //删除
- (void)onSelectItemForSeePictureByForumCellWithView:(MBForumMainCell *)view withValue:(id)value withNum:(NSInteger)num; //查看图片
- (void)onSelectItemForZanByForumCellWithView:(MBForumMainCell *)view withValue:(id)value; //点赞

@end

@interface MBForumMainCell : UITableViewCell

@property (nonatomic,assign)id<MBForumMainCellDelegate>delegate;
@property (nonatomic,strong)NSDictionary    *dataDic;
@property (nonatomic,assign)BOOL        isActivity; //是否是活动
@property (nonatomic,assign)BOOL        isParise; //是否已点赞
@property (nonatomic,assign)BOOL       isNew;
//修改点赞按钮的选择
- (void)onUpdateZanBtAction;

@end
